Function: im2javaRGB

CALL:

jimage = im2javaRGB(cdata)

DESCRIPTION:

Convert image to Java image for RGB values with transparancy

INPUT:

cdata any
3-D, real, full matrix
size(RGB,3)==3
double (NaN values will be interpreted as transparant)
logical ok but ignored

OUTPUT:

jimage any
java.awt.Image